home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000199_news@newsmaster….columbia.edu _Tue Aug 19 13:26:16 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA04785
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 19 Aug 1997 13:26:15 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA13708
  7.     for kermit.misc@watsun; Tue, 19 Aug 1997 13:26:14 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: "shebang" help
  12. Date: 19 Aug 1997 17:26:08 GMT
  13. Organization: Columbia University
  14. Lines: 26
  15. Message-ID: <5tckvg$oqd$1@apakabar.cc.columbia.edu>
  16. References: <33F9CF57.740BF0D6@ttsg.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7507
  19.  
  20. In article <33F9CF57.740BF0D6@ttsg.com>, TTSG  <ttsg@ttsg.com> wrote:
  21. : I'm trying to create a script that just dials a telephone number and
  22. : when its done exits (NO, THIS ISNT A PRANK DIALER! I want to set email
  23. : up that when I receive a message, it'll just dial my phone to let me
  24. : know I have email)
  25. : #!/usr/local/bin/kermit
  26. :     set modem type hayes-high-speed    ; I have an Accura modem
  27. :     set port /dev/tty16                ; on tty16 (AIX)
  28. :     set speed 2400                     ; Arbitrary
  29. :     set parity even                    ; More Arb
  30. :     set flow xon/xoff                  ; Ok, so I copied this 
  31. :     set modem flow none                ; from ckepage.ksc
  32. :     set dial retries 1                 ; Allow 10 redials
  33. :     dial 19145551212                   ; Call my home phone
  34. :     end                                   ; Lemme out
  35. : DIAL Failure: DIAL TIMEOUT interval expired.
  36. :
  37. Of course, because there is no modem on the other end to answer your call.
  38.  
  39. : C-Kermit 6.0.192, 6 Sep 96, for IBM RS/6000 AIX 3.2
  40. Read about the PDIAL command in manual.
  41.  
  42. - Frank